package com.haixiaoke.saas.house.service;

import com.haixiaoke.saas.house.domain.HouseFacilitiesItem;

import java.util.List;


/**
 * 房屋设施价格和状态Service接口
 *
 * @author xiaolong
 * @date 2023-10-24
 */
public interface IHouseFacilitiesItemService {
    /**
     * 查询房屋设施价格和状态
     *
     * @param facilitiesItemId 房屋设施价格和状态主键
     * @return 房屋设施价格和状态
     */
    HouseFacilitiesItem selectHouseFacilitiesItemByFacilitiesItemId(Long facilitiesItemId);

    /**
     * 查询房屋设施价格和状态列表
     *
     * @param houseFacilitiesItem 房屋设施价格和状态
     * @return 房屋设施价格和状态集合
     */
    List<HouseFacilitiesItem> selectHouseFacilitiesItemList(HouseFacilitiesItem houseFacilitiesItem);

    /**
     * 新增房屋设施价格和状态
     *
     * @param houseFacilitiesItem 房屋设施价格和状态
     * @return 结果
     */
    int insertHouseFacilitiesItem(HouseFacilitiesItem houseFacilitiesItem);

    /**
     * 修改房屋设施价格和状态
     *
     * @param houseFacilitiesItem 房屋设施价格和状态
     * @return 结果
     */
    int updateHouseFacilitiesItem(HouseFacilitiesItem houseFacilitiesItem);

    /**
     * 批量删除房屋设施价格和状态
     *
     * @param facilitiesItemIds 需要删除的房屋设施价格和状态主键集合
     * @return 结果
     */
    int deleteHouseFacilitiesItemByFacilitiesItemIds(Long[] facilitiesItemIds);

    /**
     * 删除房屋设施价格和状态信息
     *
     * @param facilitiesItemId 房屋设施价格和状态主键
     * @return 结果
     */
    int deleteHouseFacilitiesItemByFacilitiesItemId(Long facilitiesItemId);

    /**
     * 删除房屋设施价格和状态信息
     *
     * @param houseId 房屋设施价格和状态主键
     * @return 结果
     */
    int deleteHouseFacilitiesItemByHouseId(String houseId);

    /**
     * 批量新增房屋设施价格和状态
     *
     * @param houseFacilitiesItems 房屋设施价格和状态
     * @return 结果
     */
    int insertHouseFacilitiesItemList(List<HouseFacilitiesItem> houseFacilitiesItems);

    /**
     * 根据房屋id查询房屋设施集合
     * @param houseId
     * @return
     */
    List<HouseFacilitiesItem> selectHouseFacilitiesItemByHouseId(String houseId);
}
